function getSpreadsheetData(settings) {
    var script = document.createElement("script");
    
    //script.src = "https://spreadsheets.google.com/feeds/list/0Ap8mR-BSzMkLdHRwOV90MjZDdVZrWjJSR1FOMlJnRmc/1/public/values?alt=json-in-script&callback=responseHandler";
    script.src= "https://spreadsheets.google.com/feeds/list/0Ap8mR-BSzMkLdHRwOV90MjZDdVZrWjJSR1FOMlJnRmc/1/public/values/chk2m?alt=json-in-script";
    document.head.appendChild(script);
}

function responseHandler(data) {
    var table = new Array();

    for (var k in data.feed.entry) {
	console.log(data.feed.entry[k]);
        //var id = data.feed.entry[k].id.$t;
        //var row = id.match(/R([0-9]*)C/)[1]-1;
        //var col = id.match(/C([0-9]*)/)[1]-1;
        //
        //if (Object.prototype.toString.call(table[row]) != '[object Array]') {
        //    table[row] = new Array();
        //}
        //
        //table[row][col] = data.feed.entry[k].content.$t;
    }

    //console.log(table);
    readyEvent();
}